package com.example.yc23.demo.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.yc23.demo.mapper.OccupationMapper;
import com.example.yc23.demo.pojo.Occupation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

@Service
public class OccupationService implements IService<Occupation> {
    @Autowired
    private OccupationMapper occupationMapper;

    @Override
    public BaseMapper<Occupation> getBaseMapper() {
        return occupationMapper;
    }

    @Override
    public boolean saveBatch(Collection<Occupation> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<Occupation> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<Occupation> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(Occupation entity) {
        return false;
    }

    @Override
    public Occupation getOne(Wrapper<Occupation> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<Occupation> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<Occupation> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }



    @Override
    public Class<Occupation> getEntityClass() {
        return null;
    }
}
